package hut.lvming.dao;

import com.github.pagehelper.Page;
import hut.lvming.domain.Book;
import hut.lvming.domain.User;

public interface BookMapper {
    Page<Book> selectNewBooks();

    Book findById(String id);

    Integer editBook(Book book);

    Page<Book> searchBooks(Book book);

    Integer addBook(Book book);

    Page<Book> selectBorrowed(Book book);

    Page<Book> selectMyBorrowed(Book boo);


}
